<%@ page language="java" session="true" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>관리자 로그인</title>
<style type="text/css">
#form{
	width:400px;
	padding: 10px 10px 10px 10px;
}
#img{
	padding: 10px 10px 10px 10px;
}
.adminlogin {
	font-size:16px;
	font-family:Arial Black;
	font-weight:normal;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	border:1px solid #dcdcdc;
	padding:10px 60px;
	text-decoration:none;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	background:-ms-linear-gradient( top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	color:#777777;
	display:inline-block;
	text-shadow:1px 1px 0px #ffffff;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	box-shadow:inset 1px 1px 0px 0px #ffffff;
}.adminlogin:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #dfdfdf), color-stop(100%, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	background:-ms-linear-gradient( top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}.adminlogin:active {
	position:relative;
	top:1px;
}
</style>
</head>
<body>
<table align="center" style="margin-top: 300px;"><tr><td>
<div id=form>
<fieldset>
	<legend><h3>관리자 페이지 로그인</h3></legend> 
		<center>
			<spring:hasBindErrors name="command"/>
			<form:errors path="command"/>			
			<form action="loginform.do" name="Loginform" method="POST">
				<table>
					<tr>
						<td>아&nbsp;&nbsp;이&nbsp;&nbsp;디:</td> 
						<td><input type=text name=ma_name value="${command.ma_name}"></td>
						<td><form:errors path="command.ma_name" cssStyle="color : red;" /></td>
					</tr>
					<tr>
						<td>비밀번호 :</td>
						<td><input type=password name=ma_passwd value="${command.ma_passwd}"></td>
						<td><form:errors path="command.ma_passwd" cssStyle="color : red;" /></td>
					</tr>
					<tr>
						<td colspan="3" align="center"><input type="submit" class="adminlogin" value="Admin Login" /></td>
					</tr>
				</table>
			</form>
		</center>
	</fieldset>
</div>
</td></tr>	
</table>
</body>
</html>